package com.itaq.cheetah.serviceA.model.dto;

import com.itaq.cheetah.serviceA.config.enums.EncryptType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@ApiModel(value = "SsoClientDetailDTO对象", description = "创建")
public class SsoClientDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 应用名称
     */
    @ApiModelProperty(value = "应用名称")
    @NotEmpty(message = "应用名称不能为空")
    private String platformName;


    /**
     * 加密方式
     *
     * @see EncryptType
     */
    @ApiModelProperty("加密方式")
    private String encryptType;


    /**
     * 单点登录地址
     */
    @ApiModelProperty(value = "单点登录地址")
    @NotEmpty(message = "单点登录地址不能为空")
    private String ssoUrl;

}
